@import "@/style/var.less";

.studyed-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  .chose-course-top {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    background-color: #fff;
    .anticon {
      font-size: 24px; /* no */
    }
    .header-left {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      .back-arrow {
        width: 30px;
        height: 27px;
        background-image: url("~assets/home/btn_back.png");
        background-size: 100%;
        cursor: pointer;
      }
    }

    .course-title {
      width: 100%;
      flex: 1;
      font-size: 20px;
      font-weight: 700;

      .check-title {
        color: #c7c7c7;
        padding: 0 15px;
      }
      .check__active {
        color: @primary-color;
        position: relative;
        &::after {
          content: "";
          position: absolute;
          width: 23px;
          height: 4px;
          background-color: @primary-color;
          bottom: -8px;
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
    .btn-group {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
  }
  .studyed-section {
    overflow: auto;
    display: flex;
    height: calc(100% - 80px);
    .studyed-inner-wrap {
      width: 800px;
      margin: 30px auto 0;
    }
  }
  .studyed-content {
    padding: 24px 0 60px; /* no */
    height: calc(100vh - 190px);
    min-height: 410px;
    background-color: #fff;
    border-radius: 10px; /* no */
    display: flex;
    flex-direction: column;

    .step-text {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .record-icon {
      width: 60px; /* no */
      vertical-align: top;
    }
    .record-title {
      .no-rem-fontsize(40px);
      font-weight: 700;
      color: @primary-color;
    }

    .buffer {
      width: 600px;
      display: flex;
      margin: 0 auto;
      align-items: center;
      justify-content: center;
      &-item {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 20px;
        span {
          display: inline-block;
          width: 2px;
          background: #47cbb3;
          border-radius: 1px;
          margin-right: 5px;
          &:nth-child(1) {
            height: 20px;
          }
          &:nth-child(2) {
            height: 24px;
          }
          &:nth-child(3) {
            height: 28px;
          }
          &:nth-child(4) {
            height: 32px;
          }
          &:nth-child(5) {
            height: 36px;
          }
          &:nth-child(6) {
            height: 36px;
          }
          &:nth-child(7) {
            height: 32px;
          }
          &:nth-child(8) {
            height: 28px;
          }
          &:nth-child(9) {
            height: 24px;
          }
          &:nth-child(10) {
            height: 20px;
          }
        }
      }
    }
    .record-bottom-btn {
      height: 124px;
    }
  }
}
